package com.seanliao.nav.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seanliao.nav.common.domain.vo.UserVO;
import com.seanliao.nav.entity.SysRole;
import com.seanliao.nav.entity.SysUser;

/**
 * <p>
 * 用户表  服务类
 * </p>
 *
 * @author Sean_Liao
 * @since 2024-01-23
 */
public interface ISysUserService extends IService<SysUser> {

    /**
     * 分页获取用户信息
     */
    Page<UserVO> pageUser(Page<UserVO> pp, SysUser user);

    /**
     * 根据角色名称分页获取
     */
    Page<UserVO> pageUserByRole(Page<UserVO> pp, SysUser user, SysRole role);

}
